
#if 0
2024.05.07
#include <stdio.h>

int main()

{
    printf("hello,world\n");

    return 0 ;
}
#endif

#if 0
2024.05.09
#include <stdio.h>
int main(void)
{
    int num;
    num = 1;

    printf("I am a simple ");
    printf("computer.\n");
    printf("My favorite number is %d because it is first .\n", num);

    return 0;
}
#endif

#if 0
#include <stdio.h>
int main(void)
{
    int num;
    num = 1;

    printf("I am a simple ");
    printf("computer.\n");
    printf("My favorite number is %d because it is first .\n", num);

    getchar();

    return 0;
}
#endif

//第二章编程练习第一题
#if 0
#include<stdio.h>

int main()

{
    printf("十个勤天 做大做强\n");
    printf("十个勤天\n做大做强\n");
    printf("十个勤天 ");
    printf("做大做强\n");

    return 0;
}
#endif


//第二章编程练习第三题
#if 0
#include<stdio.h>

int main()

{
    int nianling, tianshu;

    nianling = 24;
    tianshu = nianling * 365;

    printf("%d\n", tianshu);

    return 0;
}
#endif

//***第二章编程练习第四题
#if 0
#include<stdio.h>
void jolly(void);
void deny(void);
int main()

{
    printf("For he's a jolly good fellow!\n");
    jolly();
    deny();
    getchar();
    return 0;
}
void jolly(void)
{
    printf("For he's a jolly good fellow!\nFor he's a jolly good fellow!\n");
}
void deny(void)
{
    printf("Which nobody can deny!\n");
}
#endif

//***第二章编程练习第六题
#if 0
#include<stdio.h>

int main()

{
    int tose, tose2, tose3;

    tose = 10;
    tose2 = tose * tose;
    tose3 = tose * tose*2;

    printf("%d\t%d\t%d\n,", tose, tose2, tose3);

    return 0;
}
#endif

//***第二章编程练习第七题
#if 0
#include<stdio.h>
void xiao(void);

int main()

{
    printf("Smile!Smile!Smile!\nSmile!Smile!\n");
    xiao();
    getchar();
    return 0;
}
void xiao(void)
{
    printf("Smile!\n");
}
#endif

//***第二章编程练习第七题
#include<stdio.h>
void one_three(void);
void two(void);
int main()

{
    printf("starting now:\n");
    one_three();
    printf("two\n");
    two();
    printf("done!\n");
    getchar();
    return 0;
}
void one_three(void)
{
    printf("one\n");
}
void two(void)
{
    printf("three\n");
}